# -*- coding: utf-8 -*-
'''
@File: 			model.py
@Version: 		1.0
@Author: 		kztxt
@Email: 		kztxt@163.com
@CreatedAt: 	2025-09-30 13:26:08
'''

# here put the import lib
from cosyvoice2.cosyvoice.cli.cosyvoice import CosyVoice2

try:
    cosyvoice2 = CosyVoice2('iic/CosyVoice2-0.5B', load_jit=False, load_trt=False, fp16=False)
except Exception:
    raise TypeError('no valid model_type!')